package com.ciei.dpagm.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

@TableName(value = "common_area")
public class Area implements java.io.Serializable{


    @TableId(type = IdType.INPUT)
    private Integer areaId;
    private String  areaName;
    private Double longitude;
    private Double latitude;
    private Integer levelId;
    private Integer orderId;
    private Integer isLeaf;
    private Integer parentAreaId;
    private String parentAreaName;

    public Area(){

    }
    public Area(Integer areaId, Double longitude, Double latitude, String areaName, Integer levelId, Integer orderId, Integer isLeaf, Integer parentAreaId, String parentAreaName) {
        this.areaId = areaId;
        this.longitude = longitude;
        this.latitude = latitude;
        this.areaName = areaName;
        this.levelId = levelId;
        this.orderId = orderId;
        this.isLeaf = isLeaf;
        this.parentAreaId = parentAreaId;
        this.parentAreaName = parentAreaName;
    }



    public Integer getAreaId() {
        return areaId;
    }

    public void setAreaId(Integer areaId) {
        this.areaId = areaId;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public Double getLongitude() {
        return this.longitude;
    }

    public void setLongitude(Double longitude) {
        this.longitude = longitude;
    }

    public Double getLatitude() {
        return this.latitude;
    }

    public void setLatitude(Double latitude) {
        this.latitude = latitude;
    }


    public Integer getLevelId() {
        return this.levelId;
    }

    public void setLevelId(Integer levelId) {
        this.levelId = levelId;
    }


    public Integer getOrderId() {
        return this.orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }


    public Integer getIsLeaf() {
        return this.isLeaf;
    }

    public void setIsLeaf(Integer isLeaf) {
        this.isLeaf = isLeaf;
    }

    public Integer getParentAreaId() {
        return this.parentAreaId;
    }

    public void setParentAreaId(Integer parentAreaId) {
        this.parentAreaId = parentAreaId;
    }


    public String getParentAreaName() {
        return this.parentAreaName;
    }

    public void setParentAreaName(String parentAreaName) {
        this.parentAreaName = parentAreaName;
    }



}
